package com.example.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author lbq
 * @version 1.0
 * @date 2021/6/27 20:39
 */
@Data
@TableName("t_order")
public class OrderModel {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 0: 未支付
     * 1: 已支付
     * 2: 已过期/失效
     */
    private Integer status;

    private Date createTime;

    private Date updateTime;
}
